<body class="gray-bg">
<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('Workflow/add')}">
        <div class="form-group">
            <label class="col-sm-2 control-label">流程名称</label>
            <div class="col-sm-10">
                <input name="name" class="form-control" type="text" placeholder="请输入流程名称" required/>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">业务类型</label>
            <div class="col-sm-10">
                <select name="business_type" class="form-control">
                    {volist name='$bus_type_list' id='vo'}
                    <option value="{$vo['business_type']}">{$vo['name']}</option>
                    {/volist}
                </select>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">流程排序</label>
            <div class="col-sm-10">
                <input name="sort" class="form-control" type="text" placeholder="请输入序号" required/>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">流程备注</label>
            <div class="col-sm-10">
                <textarea class="form-control" name="remark" placeholder="请输入流程备注"></textarea>
                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="admin@layout/save_btn"}
            </div>
        </div>
    </form>
</div>